package com.hotelvip.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hotelvip.common.pojo.PageObject;
import com.hotelvip.entity.User;
import com.hotelvip.vo.UserVo;

import java.util.List;

/**
 * 客户用户接口
 * @author Lzh
 * @date 2020/12/14 14:39
 */
public interface UserService extends IService<User> {

    void saveUser(UserVo user);

    UserVo findUserById(Long id);

    PageObject<UserVo> findUsers(Long current, Long size);

    void updateUserInfo(UserVo userVo);

    void deleteUserByIds(List<Long> ids);

    List<User> selectName(String key,Integer index);

    List<User> getDeleteUsers();
}
